package com.naiterui.ehp.bs.doctor.repository;

import com.naiterui.common.repository.core.BaseJpaRepository;
import com.naiterui.ehp.bp.domain.DrChargeConfig;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 医生收费标准配置信息持久化接口实现
 *
 * @author Amber
 * @since 1.0.0
 */
@Repository
public interface IDrChargeConfigRepository extends BaseJpaRepository<DrChargeConfig, Long>  {

    List<DrChargeConfig> findByTypeAndDoctorTitle(Integer type,Integer doctorTitle);

    DrChargeConfig findFirstByTypeAndDoctorTitle(Integer type, Integer doctorTitle);

    List<DrChargeConfig> findByDoctorTitle(Integer doctorTitle);
}
